<Joyeasy:list sql="SELECT * FROM `wode_category` where id=4" id="r">					
    <!--二级banner-->
	<div class="erjibanner">
		<img src="{$r.image}" style="width:100%;height:309px;" />
	</div>
    <!--二级banner-->
    <!--二级content-->
	<div class="content">
		<div class="content_n">
			<div class="ejleft">
				<div class="ejleft_s">
				{$r.catname}
				</div>
				<div class="ejleft_x">
                    <Joyeasy:list sql="SELECT * FROM `wode_category` where parentid=$r[id] order by listorder asc,id asc" id="rs">					
                        <if condition="$rs.id eq $parentid">
                            <a href="{$rs.url}" style="color:#70bb2b;background:url(../Public/images/ejm.png) no-repeat;">{$rs.catname}</a>
                            <div class="ejleft_x_n">
                                <Joyeasy:list sql="SELECT * FROM `wode_category` where parentid=$rs[id] order by listorder asc,id asc" id="rss">					
                                    <if condition="$rss.id eq $catid">
                                        <a href="{$rss.url}" style="color:#70bb2b;background:url(../Public/images/ejmxhover.png) no-repeat;">{$rss.catname}</a>
                                    <else />
                                        <a href="{$rss.url}">{$rss.catname}</a>
                                    </if>
                                </Joyeasy:list>
                            </div>
                        <else />
                            <a href="{$rs.url}">{$rs.catname}</a>
                             <div class="ejleft_x_n">
                                <Joyeasy:list sql="SELECT * FROM `wode_category` where parentid=$rs[id] order by listorder asc,id asc" id="rss">					
                                    <a href="{$rss.url}">{$rss.catname}</a>
                                </Joyeasy:list>
                            </div>
                       </if>
                    </Joyeasy:list>
				</div>
			</div>
            <script>
			function show_lvdi(t){
				$('#chanpinlvdi'+t).show();	
				$('#chanpinbaizi'+t).show();	
			}
			function hide_lvdi(t){
				$('#chanpinlvdi'+t).hide();	
				$('#chanpinbaizi'+t).hide();	
			}
			</script>
			<div class="erjiright">
                <volist name="list" id="r">
                    <a href="{$r.url}" target="_blank" onmouseover="show_lvdi({$r.id})" onmouseout="hide_lvdi({$r.id})">
                        <div class="ejright_cpzx_l">
                            <img src="{$r.thumb}" width="421" height="236" />
                            <div class="ejright_cpzx_l_h" style="display:none;" id="chanpinlvdi{$r.id}"></div>
                            <div class="ejright_cpzx_l_h_zi" style="display:none;" id="chanpinbaizi{$r.id}">
                            型号:{$r.xinghao}
                            </div>
                        </div>
                    </a>
                </volist>
				<div class="clear"></div>
                <div id="pages">
                {$pages}
                </div>
				<div class="clear"></div>
			</div>
			<div class="clear"></div>
		</div>
	</div>
    <!--二级content-->
</Joyeasy:list>
